/*
 * $RCSfile$
 * $Revision$
 *
 * Comments:
 *
 * (C) Copyright Biuro-Technika 2009.  All rights reserved.
 * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF Biuro-Technika
 * The copyright notice above does not evidence any
 * actual or intended publication of such source code.
 *
 * $Author$          $Locker$
 * $Date$
 * $Log$
 */

package parasoft.centrap.utils;

public class ObjectUtils {

	public static long[] getPrimitiveLong(Long[] l){
		if(l!=null && l.length>0){
			long[] out = new long[l.length];
			for (int i = 0; i < l.length; i++) {
				out[i] = l[i].longValue();
			}
			return out;
		}else{
			return new long[0];
		}
	}
}
